<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label for="c-name" class="control-label col-xs-12 col-sm-2">{:__('Step_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" class="form-control" name="row[step_name]" type="text" value="{$row.step_name}">
            <input id="c-name" class="form-control" name="row[step_v_id]" type="hidden" value="{$row.step_id}">
            <input id="c-name" class="form-control" name="row[step_v_status]" type="hidden" value="{$row.status}">
            <input id="c-name" class="form-control" name="row[recruit_id]" type="hidden" value="{$row.recruit_id}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-date" class="control-label col-xs-12 col-sm-2">{:__('Start_date')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-date" data-rule="required"  class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[step_start_date]" type="text" value="{$row.step_start_date}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-name" class="control-label col-xs-12 col-sm-2">{:__('End_date')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sign_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[step_end_date]" type="text"  value="{$row.step_end_date}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-sort" class="control-label col-xs-12 col-sm-2">{:__('Sort')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sort" class="form-control" name="row[sort]" type="text" value="{$row.sort}" placeholder="数字">
        </div>
    </div>
    <div class="form-group">
        <label for="c-status" class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
 			{:build_radios('row[status]', ['wait'=>__('Wait'),'doing'=>__('Doing'), 'end'=>__('End')],$row['status'])}
        </div>
    </div>
    <div class="form-group">
        <label for="c-status" class="control-label col-xs-12 col-sm-2">当前流程支持项:</label>
        <div class="col-xs-12 col-sm-8">
 			{:build_checkboxs('row[step_allow]', ['apply'=>'在线报名'],$row['step_allow'])}<!-- 'pay'=>'在线支付', 'download'=>'下载准考证' -->
        </div>
    </div>
    <div class="form-group">
        <label for="c-nickname" class="control-label col-xs-12 col-sm-2">{:__('Step_content')}:</label>
        <div class="col-xs-12 col-sm-8">
        	<textarea id="c-content" class="form-control editor" name="row[step_content]" rows="15" >{$row['step_content']}</textarea>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
